package com.rowline.admin.module.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ClassName:MainController
 * Created by 245167
 * on 2017/8/14  14:53
 * description: 主页
 */
@Controller
@RequestMapping("/main")
public class MainController {

    @RequestMapping("/toMainPage")
    public String toMainPage(@RequestParam("params")String params,
                             @RequestParam("timestamp")String timestamp,
                             @RequestParam("digest")String digest,
                             @RequestParam("companyCode")String companyCode){

        System.out.println("this is rowline's main");
        System.out.println("params = " + params);
        System.out.println("timestamp = " + timestamp);
        System.out.println("digest = " + digest);
        System.out.println("companyCode = " + companyCode);
        System.out.println("OK.................");
        return "main";
    }

}
